//
//  SelectPostViewController.m
//  CarTown
//
//  Created by xionghao on 15/8/29.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "SelectPostViewController.h"
#import "PublishQgViewController.h"
#import "PostWinTableViewController.h"
#import "GotoViewController.h"
@interface SelectPostViewController ()

@end

@implementation SelectPostViewController

-(UIStatusBarStyle)preferredStatusBarStyle{
    return UIStatusBarStyleLightContent;
}

+(instancetype)Viewcontroller{
    SelectPostViewController *sevc=[[SelectPostViewController alloc]initWithNibName:NSStringFromClass([self class]) bundle:nil];
    sevc.hidesBottomBarWhenPushed=YES;
    return sevc;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationItem.title=@"发求购/招标";
    
}
- (IBAction)postfind:(id)sender {
    PublishQgViewController *pqgvc=[PublishQgViewController publish];
    [self.navigationController pushViewController:pqgvc animated:YES];
    
}
- (IBAction)postwin:(id)sender {
//    MBProgressHUD *hud=[MBProgressHUD showHUDAddedTo:self.navigationController.view animated:YES];
//    hud.labelText=@"即将上线，敬请期待！";
//    hud.mode = MBProgressHUDModeText;
//    hud.margin = 10.f;
//    hud.removeFromSuperViewOnHide = YES;
//    [hud hide:YES afterDelay:1];
//    return;
     PostWinTableViewController *postwin=[PostWinTableViewController ViewController];
    [self.navigationController pushViewController:postwin animated:YES];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
